/*
 * \file TestTitledDataModel.h
 *
 * \date Created on: Feb 1, 2009
 * \author sarah
 */

#ifndef TESTTITLEDDATAMODEL_H_
#define TESTTITLEDDATAMODEL_H_

#include <QtTest>
#include <QObject>

class QApplication;

class TestTitledDataModel : public QObject
{
    Q_OBJECT
public:
    TestTitledDataModel();
    virtual ~TestTitledDataModel();
private Q_SLOTS:
    void initTestCase();
    void cleanupTestCase();
    void modelSpecToId();
    void modelSpecToId_data();
    void idToCategory();
    void idToCategory_data();
    void idToEntry();
    void idToEntry_data();
    void indexByRowColParent();
    void rowCount();
    void columnCount();
    void data();
    void hasChildren();
    void parent();
};

#endif /* TESTTITLEDDATAMODEL_H_ */
